stream-updated will also get emitted when the stream is unset, and trying
to access it then breaks.
In such case we don't need to update the css class of the indicator as it
will be hidden, and we will get another stream-updated before we show
it again anyway.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4076>
}
_updatePrivacyIndicator() {
+ if (!this._stream)
+ return;
+
// Muted microphone doesn't need privacy indicator (no privacy concern)
const {isMuted} = this._input._stream;
if (isMuted)